package com.td.module.agro.controller.admin.review.vo;

import com.td.module.agro.controller.admin.input.vo.InputUpdateReqVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("管理后台 - 溯源信息更新 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReviewUpdateReqVO extends ReviewBaseVO {

    @ApiModelProperty(value = "主键id", required = true, example = "12642")
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(value = "投入品数据集")
    private List<InputUpdateReqVO> inputUpdateReqVOS;
}
